package com.cqhilink.iot.jobstandardmanagement.services.outerservice.impl;

import com.cqhilink.iot.jobstandardmanagement.dao.mapper.EntityTypePropertyMapper;
import com.cqhilink.iot.jobstandardmanagement.facade.model.BootstrapSearchBean;
import com.cqhilink.iot.jobstandardmanagement.facade.model.EntityTypeProperty;
import com.cqhilink.iot.jobstandardmanagement.facade.service.OutEntityTypePropertyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by huangxueqian on 2017/2/13/013.
 */

public class OutEntityTypePropertyServiceImpl implements OutEntityTypePropertyService {

    @Autowired
    private EntityTypePropertyMapper entityTypePropertyMapper;

    /**
     * 根据生产实体类型Id 和 关键字搜索
     * @param entityTypeId
     * @return
     */
    @Override
    public List<EntityTypeProperty> entityTypePropertyList(String entityTypeId) {
        List<EntityTypeProperty> entityTypeProperties = entityTypePropertyMapper.outQueryList(entityTypeId);
        return entityTypeProperties;
    }


}
